package pe.edu.upc.dsd.l33t.service;

import javax.ws.rs.Path;
import javax.ws.rs.core.Response;
import org.springframework.stereotype.Service;

import pe.edu.upc.dsd.l33t.model.Book;

@Path("/books")
@Service
public interface BookService {
	
	public Response find(String isbn);	
	
	public Response save(String json);
	
	public Response getFiveLatestBooks();
	
	public Response getBooksByTitle(String title);
	
	public Response getBooksByAuthor(String author);
	
	public Response getBooksByCategory(String category);
	
}
